package com.hqj.entity;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author hqj
 * @since 2020-06-11
 */
public class TRoleMenu extends Model<TRoleMenu> {

    private static final long serialVersionUID = 1L;

    private Integer rid;

    private Integer mid;

    public Integer getRid() {
        return rid;
    }

    public void setRid(Integer rid) {
        this.rid = rid;
    }
    public Integer getMid() {
        return mid;
    }

    public void setMid(Integer mid) {
        this.mid = mid;
    }

    @Override
    protected Serializable pkVal() {
        return this.rid;
    }

    @Override
    public String toString() {
        return "TRoleMenu{" +
        "rid=" + rid +
        ", mid=" + mid +
        "}";
    }
}
